home *** CD-ROM | disk | FTP | other *** search
- #
- # (C) Tenable Network Security
- #
- # This plugin text was extracted from Mandrake Linux Security Advisory MDKSA-2003:096-1
- #
-
-
- if ( ! defined_func("bn_random") ) exit(0);
- if(description)
- {
- script_id(14078);
- script_version ("$Revision: 1.3 $");
-
- name["english"] = "MDKSA-2003:096-1: apache2";
-
- script_name(english:name["english"]);
-
- desc["english"] = "
- The remote host is missing the patch for the advisory MDKSA-2003:096-1 (apache2).
-
-
- A problem was discovered in Apache2 where CGI scripts that output more than 4k
- of output to STDERR will hang the script's execution which can cause a Denial of
- Service on the httpd process because it is waiting for more input from the CGI
- that is not forthcoming due to the locked write() call in mod_cgi.
- On systems that use scripts that output more than 4k to STDERR, this could cause
- httpd processes to hang and once the maximum connection limit is reached, Apache
- will no longer respond to requests.
- The updated packages provided use the latest mod_cgi.c from the Apache 2.1 CVS
- version.
- Users may have to restart apache by hand after the upgrade by issuing a 'service
- httpd restart'.
- Update:
- The previous update introduced an experimental mod_cgi.c that while fixing the
- deadlock did not do so in a correct manner and it likewise introduced new
- problems with other scripts.
- These packages roll back to the original mod_cgi.c until such a time as the
- apache team have a proper fix in place. Both Mandrake Linux 9.1 and 9.2 are
- affected with this problem.
- Likewise, a problem was discovered in the default mod_proxy configuration which
- created an open proxy. Users who have installed mod_perl also have mod_proxy
- installed due to dependencies and may unknowingly have allowed spammers to use
- their MTA via the wide-open mod_proxy settings.
- MandrakeSoft encourages all users to upgrade to these new packages immediately.
-
-
- Solution : http://www.mandrakesoft.com/security/advisories?name=MDKSA-2003:096-1
- Risk factor : High";
-
-
-
- script_description(english:desc["english"]);
-
- summary["english"] = "Check for the version of the apache2 package";
- script_summary(english:summary["english"]);
-
- script_category(ACT_GATHER_INFO);
-
- script_copyright(english:"This script is Copyright (C) 2004 Tenable Network Security");
- family["english"] = "Mandrake Local Security Checks";
- script_family(english:family["english"]);
-
- script_dependencies("ssh_get_info.nasl");
- script_require_keys("Host/Mandrake/rpm-list");
- exit(0);
- }
-
- include("rpm.inc");
- if ( rpm_check( reference:"apache2-2.0.47-1.4.91mdk", release:"MDK9.1", yank:"mdk") )
- {
- security_hole(0);
- exit(0);
- }
- if ( rpm_check( reference:"apache2-common-2.0.47-1.4.91mdk", release:"MDK9.1", yank:"mdk") )
- {
- security_hole(0);
- exit(0);
- }
- if ( rpm_check( reference:"apache2-devel-2.0.47-1.4.91mdk", release:"MDK9.1", yank:"mdk") )
- {
- security_hole(0);
- exit(0);
- }
- if ( rpm_check( reference:"apache2-manual-2.0.47-1.4.91mdk", release:"MDK9.1", yank:"mdk") )
- {
- security_hole(0);
- exit(0);
- }
- if ( rpm_check( reference:"apache2-mod_dav-2.0.47-1.4.91mdk", release:"MDK9.1", yank:"mdk") )
- {
- security_hole(0);
- exit(0);
- }
- if ( rpm_check( reference:"apache2-mod_ldap-2.0.47-1.4.91mdk", release:"MDK9.1", yank:"mdk") )
- {
- security_hole(0);
- exit(0);
- }
- if ( rpm_check( reference:"apache2-mod_ssl-2.0.47-1.4.91mdk", release:"MDK9.1", yank:"mdk") )
- {
- security_hole(0);
- exit(0);
- }
- if ( rpm_check( reference:"apache2-modules-2.0.47-1.4.91mdk", release:"MDK9.1", yank:"mdk") )
- {
- security_hole(0);
- exit(0);
- }
- if ( rpm_check( reference:"apache2-source-2.0.47-1.4.91mdk", release:"MDK9.1", yank:"mdk") )
- {
- security_hole(0);
- exit(0);
- }
- if ( rpm_check( reference:"libapr0-2.0.47-1.4.91mdk", release:"MDK9.1", yank:"mdk") )
- {
- security_hole(0);
- exit(0);
- }
- if ( rpm_check( reference:"apache2-2.0.47-6.1.92mdk", release:"MDK9.2", yank:"mdk") )
- {
- security_hole(0);
- exit(0);
- }
- if ( rpm_check( reference:"apache2-common-2.0.47-6.1.92mdk", release:"MDK9.2", yank:"mdk") )
- {
- security_hole(0);
- exit(0);
- }
- if ( rpm_check( reference:"apache2-devel-2.0.47-6.1.92mdk", release:"MDK9.2", yank:"mdk") )
- {
- security_hole(0);
- exit(0);
- }
- if ( rpm_check( reference:"apache2-manual-2.0.47-6.1.92mdk", release:"MDK9.2", yank:"mdk") )
- {
- security_hole(0);
- exit(0);
- }
- if ( rpm_check( reference:"apache2-mod_cache-2.0.47-6.1.92mdk", release:"MDK9.2", yank:"mdk") )
- {
- security_hole(0);
- exit(0);
- }
- if ( rpm_check( reference:"apache2-mod_dav-2.0.47-6.1.92mdk", release:"MDK9.2", yank:"mdk") )
- {
- security_hole(0);
- exit(0);
- }
- if ( rpm_check( reference:"apache2-mod_deflate-2.0.47-6.1.92mdk", release:"MDK9.2", yank:"mdk") )
- {
- security_hole(0);
- exit(0);
- }
- if ( rpm_check( reference:"apache2-mod_ldap-2.0.47-6.1.92mdk", release:"MDK9.2", yank:"mdk") )
- {
- security_hole(0);
- exit(0);
- }
- if ( rpm_check( reference:"apache2-mod_proxy-2.0.47-6.1.92mdk", release:"MDK9.2", yank:"mdk") )
- {
- security_hole(0);
- exit(0);
- }
- if ( rpm_check( reference:"apache2-mod_ssl-2.0.47-6.1.92mdk", release:"MDK9.2", yank:"mdk") )
- {
- security_hole(0);
- exit(0);
- }
- if ( rpm_check( reference:"apache2-modules-2.0.47-6.1.92mdk", release:"MDK9.2", yank:"mdk") )
- {
- security_hole(0);
- exit(0);
- }
- if ( rpm_check( reference:"apache2-source-2.0.47-6.1.92mdk", release:"MDK9.2", yank:"mdk") )
- {
- security_hole(0);
- exit(0);
- }
- if ( rpm_check( reference:"libapr0-2.0.47-6.1.92mdk", release:"MDK9.2", yank:"mdk") )
- {
- security_hole(0);
- exit(0);
- }
-